/*************************************************
Author: will
Date: 7/23/2013
Description:
Notes: 
*************************************************/

#ifndef __CPyramidMgr_h__
#define __CPyramidMgr_h__

#include "CPyramidConfig.h"
#include "MsgPyramid.pb.h"

class CPyramidActData;
class CPlayerBaseInfo;
class CPlayerDetailInfo;
class CPlayerOnlineData;

class CPyramidMgr
{
public:
    int GetListInfo(CPyramidActData& stPyramidData, MsgAnsPyramid& stAns);

    int GetDetailInfo(CPyramidActData& stPyramidData, int iPyramidID, MsgPyramidDetailInfo& stDetailInfo);

    int GoToPos(CPyramidActData& stPyramidData, int iPyramidID, bool bIsLeftDoor, 
                    CPlayerBaseInfo& stPlayerBaseInfo, CPlayerDetailInfo& stPlayerDetailInfo, 
                    CPlayerOnlineData& stPlayerOnlineData, MsgAnsPyramid& stAns);

    int ResetPyramid(CPyramidActData& stPyramidData, int iPyramidID, int iMaxCanResetCount, 
                CPlayerBaseInfo& stPlayerBaseInfo, MsgAnsPyramid& stAns);

    int GetBonus(CPyramidActData& stPyramidData, int iPyramidID, unsigned char ucBonusType, 
                        CPlayerOnlineData& stPlayerOnlineData, MsgAnsPyramid& stAns);

};


#endif // __CPyramidMgr_h__

